
import { initStars } from '../util/index'
import { useEffect } from 'react';




const StartView = () => {

  useEffect(()=>{
    initStars()
    window.onresize = function(){
      console.log(1)
      initStars()
    }
  },[])



  return <canvas id="canvas" style={{display:"block"}} ></canvas>
}

export default StartView;